package com.shiro.entity;

import java.io.Serializable;
import java.util.Date;


/**
 * 角色-权限关联表
 * 
 * @author zhiyuan
 * @email tianzhiyuanemail@163.com
 * @date 2018-12-04 17:17:12
 */
public class SysRolePermissionEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private Integer id;
	//角色id
	private Integer roleId;
	//权限id
	private Integer permissionId;
	//
	private Date createTime;
	//
	private Date updateTime;
	//是否有效 1有效     2无效
	private String deleteStatus;

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：角色id
	 */
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	/**
	 * 获取：角色id
	 */
	public Integer getRoleId() {
		return roleId;
	}
	/**
	 * 设置：权限id
	 */
	public void setPermissionId(Integer permissionId) {
		this.permissionId = permissionId;
	}
	/**
	 * 获取：权限id
	 */
	public Integer getPermissionId() {
		return permissionId;
	}
	/**
	 * 设置：
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	/**
	 * 设置：是否有效 1有效     2无效
	 */
	public void setDeleteStatus(String deleteStatus) {
		this.deleteStatus = deleteStatus;
	}
	/**
	 * 获取：是否有效 1有效     2无效
	 */
	public String getDeleteStatus() {
		return deleteStatus;
	}
}
